<script setup>
import {fetchInfo} from "@/api/index.js";
import {onMounted} from "vue";
import {ref} from "vue";
const data=ref('')
onMounted(async () => {
     data.value= (await fetchInfo()).data;
})
</script>

<template>
<div>
  {{data}}
</div>
</template>

<style scoped>

</style>